// Created by amoylel on 18/12/2018.
// Copyright (c) 2018 amoylel All rights reserved.

#ifndef AMO_ANY_BLOB_E3C23807_F862_4208_9DDB_056C29415B53_HPP__
#define AMO_ANY_BLOB_E3C23807_F862_4208_9DDB_056C29415B53_HPP__

#include <string>
#include <amo/blob.hpp>
#include <amo/any/any_type_traits.hpp>

namespace amo {
    template<> struct any_value_type <amo::blob> {
        static const char value = 44;
    };
    template<>  std::string any_to_string<amo::blob>(const amo::blob& val) {
        return val.get_name();
    }
    template<>  amo::blob string_to_any(const std::string& val) {
        return amo::blob(val);
    }
}



#endif //AMO_ANY_BLOB_E3C23807_F862_4208_9DDB_056C29415B53_HPP__